// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// md5加密处理
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;

Vue.config.productionTip = false;
// 引入Element UI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

// 引入store
import {store} from './store/store'

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router, //注册store
    store,
    components: {App},
    template: '<App/>',
    render: h => h(App)
});
